package com.atguigu.lease.app.service.impl;

import com.atguigu.lease.app.mapper.ViewAppointmentMapper;
import com.atguigu.lease.app.service.ViewAppointmentService;
import com.atguigu.lease.model.bean.ViewAppointment;
import com.atguigu.lease.model.vo.lease.AppointmentItemVo;
import com.atguigu.lease.model.vo.lease.AppointmentQueryVo;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
* @author LOGIN
* @description 针对表【view_appointment(预约看房信息表)】的数据库操作Service实现
* @createDate 2025-06-21 01:15:32
*/
@Service
public class ViewAppointmentServiceImpl extends ServiceImpl<ViewAppointmentMapper, ViewAppointment>
    implements ViewAppointmentService{

    @Override
    public Page<AppointmentItemVo> pageItem(Long current, Long size, AppointmentQueryVo queryVo) {
        return baseMapper.selectAppointmentItemVoPage(new Page<AppointmentItemVo>(current,size),queryVo);
    }
}




